﻿
using System;
using SqlSugar;
using Dora.Orm.Core.Domain.Entities;

namespace Dora.Services.AdminUser.Entities
{

    /// <summary>
    /// 保险供应商_组织机构_保险产品_关系表(线上下主表)实体对象
    /// </summary>
    [SugarTable("insurance_org_product")]
    public class InsuranceOrgProductEntity : Entity<int>
    {
        #region model


        /// <summary>
        /// 组织机构保险供应商Id;insurance_org_supplier_info表主键
        /// </summary>
        public int? OrgSupplierId { get; set; }

        /// <summary>
        /// 保险产品Id;InsuranceType=1时代表insurance_supplier_product表主键 InsuranceType=2时代表insurance_org_product_offline表主键
        /// </summary>
        public int? InsuranceProId { get; set; }

        /// <summary>
        /// 组织机构Id;organization表主键
        /// </summary>
        public int? OrgId { get; set; }

        /// <summary>
        /// 保险类别;1:线上 2:线下
        /// </summary>
        public short? InsuranceType { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public Guid? CreatedUserId { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string CreatedUserName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get; set; }

        /// <summary>
        /// 删除人
        /// </summary>
        public Guid? DeletedUserId { get; set; }

        /// <summary>
        /// 删除人姓名
        /// </summary>
        public string DeletedUserName { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeletedTime { get; set; }

        #endregion
        #region extend
        #endregion
    }
}